package com.kgc.smbms.service.impl;

import com.kgc.smbms.bean.Role;
import com.kgc.smbms.mapper.RoleMapper;
import com.kgc.smbms.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created On : 12/8/2022.
 * <p>
 * Author : huayu
 * <p>
 * Description: RoleServiceImpl  用户角色 业务层  实现类
 */
@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleMapper roleMapper;

    //查询用户角色列表
    @Override
    public List<Role> findRoleList() {
        return roleMapper.selectRoleList();

    }
}
